<h3>Define a map: $("def inventors ['Lisp' 'McCarthy' 'Closure' 'Hickey']")</h3>
<cfset $("def inventors ['Lisp' 'McCarthy' 'Closure' 'Hickey']")>

<h3>Call the map as a function $("inventors 'Lisp'")</h3>
<p>Calling a map as a function causes it to search it's keys for the argument.</p>
<cfset $("inventors 'Lisp'")>

<h3>Try using a FCF function as a key</h3>
<pre>
&lt;cfset $("defn myobj [name] (pr 'hello, ' name")>
&lt;cfset $("def inventors (myobj 'McCarthy' 'Closure' 'Hickey')")>
</pre>
<cfset $("defn myobj [name] (pr 'hello, ' name)")>
<cfset $("def inventors (myobj 'McCarthy' 'Closure' 'Hickey')")>

<div style="color:red; font-weight:bold">TODO: allow a list to lookup an element and return it...</div>
<!--- <cfset $("inventors myobj")> --->

<h3>To be sure, demonstrate that myObj is a real FCF</h3>
<code>&lt;cfset $("myObj 'Jerry'")><br></code>
<cfset $("myObj 'Jerry'")>

<h3>Setup a map with keywords</h3>
<cfset $("def inventors [:Lisp 'McCarthy' :Closure 'Hickey']")>